import Vue from 'vue';
import { Button,NavBar,Field,Form,Toast,Loading} from 'vant';
// login
Vue.use(Button);
Vue.use(NavBar);
Vue.use(Field );
Vue.use(Form );
Vue.use(Toast );
Vue.use(Loading );

// layout
import { Tabbar, TabbarItem } from 'vant';

Vue.use(Tabbar);
Vue.use(TabbarItem);

// 首页
import {Image as VanImage,Tag,Col, Row,icon,cell,CellGroup,Dialog} from 'vant';
Vue.use(VanImage);
Vue.use(Tag);
Vue.use(Col);
Vue.use(Row);
Vue.use(icon);
Vue.use(cell);
Vue.use(CellGroup);
Vue.use(Dialog);

// edit
import { Popup,DatetimePicker,Uploader} from 'vant';
Vue.use(Popup);
Vue.use(DatetimePicker);
Vue.use(Uploader);